<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2019 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 小夏 < 449134904@qq.com>
// +----------------------------------------------------------------------
namespace app\api\validate;

use think\Validate;

class AddressValidate extends Validate
{
    protected $rule = [
        'name'      => 'require',
        'phone'     => 'require',
        'address'   => 'require',
        'lat'       => 'require',
        'lng'       => 'require',
    ];
	
    protected $message = [
        'name.require'      => '联系人不可为空',
        'phone.require'     => '联系人电话不可为空',
        'address.require'   => '地址不可为空',
        'lat.require'       => '坐标不可为空',
        'lng.require'       => '坐标不可为空',
    ];

}